#ifndef _GXHT_H__
#define _GXHT_H__

#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <math.h>
#include "cmsis_os2.h"
#include "wifiiot_errno.h"
#include "wifiiot_i2c.h"
#include "wifiiot_i2c_ex.h"
#include "wifiiot_gpio.h"
#include "wifiiot_gpio_ex.h"

/* E53_IA1传感器数据类型定义 ------------------------------------------------------------*/
typedef struct
{
	float    Humidity;        //湿度
	float    Temperature;     //温度
} E53_IA1_Data_TypeDef;

/* 寄存器宏定义 --------------------------------------------------------------------*/
#define SHT30_Addr 0x44

void E53_IA1_Init(void);
void E53_IA1_Read_Data(E53_IA1_Data_TypeDef *ReadData);

#endif